package com.xiaohe66.web.infrastructure.mybatis.birth.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaohe66.web.integration.BaseLongInputDo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * @author xiaohe66
 * @since 2023-07-12 15:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("birthday")
public class BirthdayDo extends BaseLongInputDo {

    @TableField("`name`")
    private String name;

    private Integer birthType;
    private Integer year;
    private Integer month;
    private Integer day;
    private LocalDate nextBirthday;

}
